package com.info33.platform.business.app.entity;

import com.info33.platform.common.mvc.entity.BaseEntity;
import com.info33.platform.common.validated.SaveValidated;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * app - 租户 - 申请记录
 *
 * @author admin
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AppTenantApply extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @NotBlank(groups = {SaveValidated.class}, message = "租户名不能为空")
    @ApiModelProperty(value = "租户名")
    private String name;

    @ApiModelProperty(value = "租户信息")
    private String info;

    @ApiModelProperty(value = "审核状态：-1/待审核、1/通过、0/拒绝")
    private Integer audit;

}